import request from "/utils/request.ts";

// 课程表(小程序)
export const trainingGetCourseTable = (month?:string) =>
  request({
    url: "/classai/api/training/getCourseTable",
    method: "GET",
    data: {month: month || ''}
  });

// 点击课程表日期课程列表(小程序)
export const trainingGetCourseTableByDate = (data: { date: string }) =>
  request({
    url: "/classai/api/training/getCourseTableByDate",
    method: "GET",
    data,
  });

// 查询培训作业(小程序)
export const trainingGetTrainingWork = (data) =>
  request({
    url: "/classai/api/training/getTrainingWork",
    method: "GET",
    data,
  });
